import request from '@/utils/request'

/**
 * 根据ID获取商品详情
 * @param {*} id
 * @returns
 */
export const getGoodsDetailAPI = (id) => {
  return request('/goods', 'get', {
    id
  })
}
